home *** CD-ROM | disk | FTP | other *** search
- G.File( "Data/BasicCamera.xml");
-
- --G.FullScreen( true );
-
-
-
- function WaitForSpaceBar( )
- coroutine.yield();
- while( not G.KeyTriggered( "Space") ) do
- coroutine.yield();
- end
- end
-
- --G.File( "MenuData/TraitorCog.xml" );
- --G.File( "MenuData/MainMenuCog.xml" );
-
- function MainPresentation()
-
- G.ActivateBackground( 0 );
- G.File( "GUI/SlideCog.xml" );
-
- Slide.SetGuiText( "Title" , "Physics Presentation" , 0 );
- Slide.SetGuiText( "Text" , "Matt Miner & Chris Peters" , 0 );
-
- WaitForSpaceBar();
-
- Slide.SetGuiText( "Title" , "The Plan" , 0 );
- Slide.SetGuiText( "Text" , "- Spring System\n- Physics Improvements\n- SuperSticky Ball" , 5 );
-
- WaitForSpaceBar();
-
- Slide.SetGuiText( "Title" , "Spring System" , 0 );
- Slide.SetGuiText( "Text" , "Result: Invader Capes!" , 5 );
- Slide.SetGuiText( "Text" , "\n Problems: - Very Springy\n Success: Verlet, Absolute Contstraints" , -1 );
-
-
- WaitForSpaceBar();
-
- Slide.SetGuiText( "Title" , "Physics Improvements" , 0 );
- Slide.SetGuiText( "Text" , "Result: Improved Physics Speed" , 5 );
- Slide.SetGuiText( "Text" , "\n Problems: - Time Consuming\n Success: Reduced Variable Creation, \n Improved Rotational Calculations" , -1 );
-
- WaitForSpaceBar();
-
-
- Slide.SetGuiText( "Title" , "SuperSticky Ball" , 0 );
- Slide.SetGuiText( "Text" , "Result: Work in Progress" , 5 );
- Slide.SetGuiText( "Text" , "\n Problems: - Too many Forces, \nMultiple simultaneous Collisions, \nPoor with terrain\n" , -1 );
-
- WaitForSpaceBar();
-
- Slide.SetGuiText( "Title" , "And Now the Demo" , 0 );
- Slide.SetGuiText( "Text" , "" , 5 );
-
- WaitForSpaceBar();
-
- Slide.Destroy();
-
- end
-
- CreateCoroutine( MainPresentation );
-
- -- dofile( "Scripts/Startup.lua" )
-
-
-